package com.zhongwang.business.diyException;

/**
 *  GetDataException
 *  自定义异常
 * @author 徐一贺
 * @date 2020/10/17 8:27
 * @version 1.0
      */
public class GetDataException extends Exception{
   private String message;

    @Override
    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public GetDataException() {
    }

    public GetDataException(String message) {
        this.message = message;
    }

    public GetDataException(String message, String message1) {
        super(message);
        this.message = message1;
    }

    public GetDataException(String message, Throwable cause, String message1) {
        super(message, cause);
        this.message = message1;
    }

    public GetDataException(Throwable cause, String message) {
        super(cause);
        this.message = message;
    }

    public GetDataException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, String message1) {
        super(message, cause, enableSuppression, writableStackTrace);
        this.message = message1;
    }
}
